//
//  SearchView.h
//  PigMarket
//
//  Created by mac on 2019/6/10.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^SearchEndBlock)(NSString *searchText);
typedef void (^SearchBeginBlock)(void);

@interface SearchView : UIView
/**
 searchBar
 */
@property (nonatomic , strong) UISearchBar *searchBar;

/**
 searchBlock
 */
@property (nonatomic , copy) SearchEndBlock searchEndBlock;
@property (nonatomic , copy) SearchBeginBlock searchBeginBlock;

@end

